package ltg.ibutton.hydroroom;

import java.sql.Timestamp;

public class InjectedDyeTracer extends DyeTracer {
	private float x,y;
	private String station, info;
	private Timestamp timestamp;
	
	
	public InjectedDyeTracer() {}
	
	public InjectedDyeTracer(DyeTracer d) {
		this.bid = d.getBid();
		this.color = d.getColor();
		this.info = "color="+d.getColor();
	}
	
	public InjectedDyeTracer(String bid, String color, Timestamp timestamp, float x, float y, String station) {
		this.bid = bid;
		this.color = color;
		this.timestamp = timestamp;
		this.x = x;
		this.y = y;
		this.station = station;
		this.info = "color="+color;
	}
	
	public String toString() {
		return"[Injected Dye tracer "+this.bid+"]: "+this.timestamp+" @("+this.x+", "+this.y+"), from station "+this.station+", info: "+this.info;
	}
	
	public String getBid() { return this.bid; }
	public Timestamp getTimestamp() { return this.timestamp; }
	public float getX() { return this.x; }
	public float getY() { return this.y; }
	public void setX(float x) { this.x = x; }
	public void setY(float y) { this.y = y; }
	public void setTimestamp(Timestamp t) { this.timestamp = t; }
	public String getStationId() { return this.station; }
	public void setStationId(String station) { this.station = station; }
	public String getInfo() { return this.info; }
	
}
